//
//  MLSleep.h
//  Molian
//
//  Created by wansong on 3/5/15.
//  Copyright (c) 2015 xiaocan. All rights reserved.
//
//  用户睡眠状态模型

#import <AVOSCloud/AVOSCloud.h>


/*
 * @enum MLSleepStatus 睡眠状态
 */
typedef NS_ENUM(NSUInteger, MLSleepStatus)
{
    MLSleepStatus_NORMAL = 0, // 正常
    MLSleepStatus_FINISHED = 1, // 已结束
};

@interface MLSleep : AVObject<AVSubclassing>

// 睡眠状态
@property NSInteger status;

// 正在随眠的用户
@property (nonatomic, strong) AVObject *sleepUser;

// 聊天对象
@property (nonatomic, strong) AVObject *chatUser;

@end
